﻿


using NB.MGJ.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NB.MGJ.Model
{


    public class Origins_Node
    {


        /// <summary>
        ///  
        /// </summary>
        [Property("Key")]
        public int? Id
        {
            get;
            set;
        }

        /// <summary>
        ///  
        /// </summary>
        public int? EnterpriseId
        {
            get;
            set;
        }

        /// <summary>
        ///  所属流程
        /// </summary>
        public int? FlowID
        {
            get;
            set;
        }

        /// <summary>
        ///  节点名称
        /// </summary>
        public string NodeName
        {
            get;
            set;
        }

        /// <summary>
        ///  节点分类0模板1流程
        /// </summary>
        public int? NodeType
        {
            get;
            set;
        }

        /// <summary>
        ///  节点类型0原料节点1其他流程节点待定
        /// </summary>
        public int? Category
        {
            get;
            set;
        }

        /// <summary>
        ///  是否默认在h5展示0否1是
        /// </summary>
        public int? IsH5
        {
            get;
            set;
        }

        /// <summary>
        ///  录入限制录入次数0单次1多次
        /// </summary>
        public int? EnterTimes
        {
            get;
            set;
        }

        /// <summary>
        ///  修改权限0所有人1预设权限
        /// </summary>
        public int? Permission
        {
            get;
            set;
        }

        /// <summary>
        ///  
        /// </summary>
        public string Display
        {
            get;
            set;
        }

        /// <summary>
        ///  拥有修改此节点权限的用户id
        /// </summary>
        public int? PermissionPerson
        {
            get;
            set;
        }

        /// <summary>
        ///  是否删除0未删除1已删除
        /// </summary>
        public int? ViewDel
        {
            get;
            set;
        }

        /// <summary>
        ///  流程节点排序
        /// </summary>
        public int? Sequence
        {
            get;
            set;
        }

 
        /// <summary>
        ///  
        /// </summary>
        public int? ChangeLoginID
        {
            get;
            set;
        }

        /// <summary>
        ///  
        /// </summary>
        public string ChangeLoginName
        {
            get;
            set;
        }

        /// <summary>
        ///  
        /// </summary>
        public System.DateTime ChangeDate
        {
            get;
            set;
        }

        /// <summary>
        ///  
        /// </summary>
        public string NodeContent
        {
            get;
            set;
        }

        /// <summary>
        ///  
        /// </summary>
        public string ImgUrl
        {
            get;
            set;
        }

        /// <summary>
        ///  
        /// </summary>
        public string VideoUrl
        {
            get;
            set;
        }
        [NotMapped]
        /// <summary>
        /// 扩展字段，当前录入次数
        /// </summary>
        public int? ExtEnterTimes
        {
            get;
            set;
        }
         [NotMapped]
        /// <summary>
        /// 备用
        /// </summary>
        public int? EXTPermission
        {
            get;
            set;
        }
         [NotMapped]
        /// <summary>
        /// 扩展字段，当前是否可继续录入
        /// </summary>
        public int? EXTIsEnter
        {
            get;
            set;
        }
         [NotMapped]
        /// <summary>
        /// 扩展字段，当前是否包含权限
        /// </summary>
        public int? EXTIsPermission
        {
            get;
            set;
        }
       
    
    }



}











